﻿using UnityEngine;
using System.Collections;
namespace GameUnit
{
    public class UWidget : MonoBehaviour
    {
        public Unit Unit;
        public virtual void Init(Unit unit)
        {
            this.Unit = unit;
        }

        public virtual void OnDestory()
        {

        }

        public virtual void OnLoad()
        {

        }
    }
}